﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
using SCMS.Model;

namespace SCMS.CoreBusinessLogic.WRF
{
    public interface IWareHouseReleaseService
    {
        bool SaveWRF(Model.WarehouseRelease WR, WarehouseReleaseItem WRItem);
        bool IsWRNItemDeleted(Guid wrnItemId);
        string GenerateUniquNumber(CountryProgramme cp);
        List<object> GetInventoryItems(Guid cpid, Guid warehouseId);
        List<WarehouseReleaseItem> GetWRNItems(Guid WRNId);
        List<WarehouseRelease> GetWRNs(Guid CPId);
        List<WarehouseRelease> GetWRNs4WB(Guid CPId);
        List<WarehouseRelease> GetWRNsForApproval(Staff currentStaff);
        List<Model.Asset> GetAssets(Guid InventoryId);
        string GetStaffName(Guid StaffId);
        WarehouseRelease GetWROById(Guid Id);
        bool SaveApproved(WarehouseRelease wro);
        void RejectWRO(Guid wroId);

        bool DeleteWarehouseReleaseById(Guid wroId);
        bool DeleteWarehouseReleaseItemById(Guid wroItemId);
    }
}
